package com.yanqu.road.server.cmd.chefduel.process3;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.pb.chefduel.ChefDuelProto;
import com.yanqu.road.server.cmd.CrossCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.manager.chefduel.CrossChefDuelMgr;
import com.yanqu.road.server.protocol.Protocol;

@Cmd(code = Protocol.C_CHEF_DUEL3_CAMP_RANK_REWARD, desc = "阵营排行奖励")
public class CrossChefDuel3CampGetRankRewardCmd extends CrossCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {

        ChefDuelProto.ChefDuelGetCampRankRewardReqMsg reqMsg = ChefDuelProto.ChefDuelGetCampRankRewardReqMsg.parseFrom(packet.getBytes());
        CrossChefDuelMgr.getChefDuel3CampRank(serverId, packet.getPlayerId(), reqMsg.getActivityId());

    }

    @Override
    public void sendData() {

    }
}
